package com.base.service;

import com.base.po.tbk.TbkGoodGoods;
import com.base.po.tbk.TbkGoodGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbkGoodGoodsService {
    int countByExample(TbkGoodGoodsExample example);

    int deleteByExample(TbkGoodGoodsExample example);

    int insert(TbkGoodGoods record);

    int insertSelective(TbkGoodGoods record);

    List<TbkGoodGoods> selectByExample(TbkGoodGoodsExample example);

    List<TbkGoodGoods> selectByContentId(@Param("parentid") String parentid, @Param("contentid") String contentid);

    TbkGoodGoods selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TbkGoodGoods record, @Param("example") TbkGoodGoodsExample example);

    int updateByExample(@Param("record") TbkGoodGoods record, @Param("example") TbkGoodGoodsExample example);

    int updateByPrimaryKeySelective(TbkGoodGoods record);
}